#ifndef WORKER_H_
#define WORKER_H_

#include <inttypes.h>
#include "cu.h"
#include "program.h"

enum {
	Constant_P,
	Constant_Psd2,
};


struct Prover
{
	Program* program;
	const char* epoch_hash;
	const char* address;
};

void init_constant(int type,char* buffer,int size);
void exectuor_run(Prover *prover,uint64_t* traget,int num);
void exectuor_run_inst(Prover* prover, const char *values);





#endif